package com.searchparking.BUS;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.NameValuePair;
import org.json.JSONObject;

import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.util.Log;

import com.searchparking.Config.GlobalConfig;
import com.searchparking.DTO.ParkingObject;

public class ParkingBus {
	private ParkingObject parkingObj;
	public ParkingBus()
	{
		
		
		String url  = "http://10.0.0.1/api/service.php?action=getAllParking";
		List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
		JSONObject parkingJson=RestfulWSHelper.doGet(url);
		Log.d("OK","TEST");
		Log.d("JSON", "RESULT: " + parkingJson.toString());
		
	}
	
	
}
